setSelected

abstract fun setSelected(block: DesignBlock, selected: Boolean)

Update the selection state of a block. Fails for invalid blocks. Note: Previously selected blocks remain selected. Required scope: "editor/select"

Parameters

block

the block to query.

selected

whether or not the block should be selected.